package com.wxy.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Configuration;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor

public class Exam {
    @TableId(type = IdType.AUTO)
    private Long examId;
    private String examName;
    private Long tusername;
    private Integer finish;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private LocalDate endTime;
}
